using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using LFromeWork;
using UnityEngine;

public class TestAssetLoad : MonoBehaviour
{
    void Update()
    {
        if (Input.GetKeyUp(KeyCode.A))
        {
            // string assetPath = "Assets/Download/UISprite/mall/mall_chest_close.png";
            // GameLaunch.Resources.LoadAssetAsync(assetPath,AssetLoadComplete);
            // GameLaunch.Resources.ReleaseAsset(assetPath,AssetLoadComplete);
            
        }
    }

    private void AssetLoadComplete(string path,Object asset)
    {
        GameLaunch.Log("加载完成 ：： " + path + "  asset :: " + (asset == null));
    }
}
